<?php

namespace addons\shopro\controller\v1;

use addons\shopro\controller\Base;
use app\common\controller\Api;
use think\Db;
/**
 * 公告接口
 */
class Richtext extends Base
{
    protected $noNeedLogin = ['get'];
    protected $noNeedRight = '*';

    public function _initialize()
    {
        parent::_initialize();

    }
    public function get(){
        $info = Db::name('shopro_richtext')->where('is_gonggao',1)->find();

        $this->success('获取成功',$info);
    }







}
